package com.heima.client.wemedia;

import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Geralt
 * @Date 2024-08-02 10:17
 */
@FeignClient("leadnews-wemedia")
public interface WemediaUserClient {
    /**
     * 查询自媒体用户
     * @param authorId
     * @return
     */
    @GetMapping("/api/v1/user/query_wmUser/{authorId}")
    ResponseResult getWemediaUser(@PathVariable String authorId);

}
